package com.ruoyi.btlfbreed.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 疫苗使用登记对象 tb_vaccination_records
 * 
 * @author ruoyi
 * @date 2024-05-07
 */
public class TbVaccinationRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long recordId;

    /** 肉鸡 */
    private Long chickenId;
    @Excel(name = "肉鸡")
    private String chickenNo;
    /** 疫苗名称 */
    private String vaccineId;

    @Excel(name = "疫苗名称")
    private String vaccineName;

    /** 接种日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接种日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vaccinationDate;

    /** 接种剂量 */
    @Excel(name = "接种剂量")
    private String dosage;

    /** 接种途径 */
    @Excel(name = "接种途径")
    private String administrationRoute;

    /** 接种状态 */
    @Excel(name = "接种状态")
    private String status;

    /** 饲养员 */
    private Long userId;
    @Excel(name = "饲养员")
    private String userName;
    /** 删除标志 */
    private String delFlag;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setChickenId(Long chickenId) 
    {
        this.chickenId = chickenId;
    }

    public Long getChickenId() 
    {
        return chickenId;
    }
    public void setVaccineId(String vaccineId) 
    {
        this.vaccineId = vaccineId;
    }

    public String getVaccineId() 
    {
        return vaccineId;
    }
    public void setVaccinationDate(Date vaccinationDate) 
    {
        this.vaccinationDate = vaccinationDate;
    }

    public Date getVaccinationDate() 
    {
        return vaccinationDate;
    }
    public void setDosage(String dosage) 
    {
        this.dosage = dosage;
    }

    public String getDosage() 
    {
        return dosage;
    }
    public void setAdministrationRoute(String administrationRoute) 
    {
        this.administrationRoute = administrationRoute;
    }

    public String getAdministrationRoute() 
    {
        return administrationRoute;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getChickenNo()
    {
        return chickenNo;
    }

    public void setChickenNo(String chickenNo)
    {
        this.chickenNo = chickenNo;
    }

    public String getVaccineName()
    {
        return vaccineName;
    }

    public void setVaccineName(String vaccineName)
    {
        this.vaccineName = vaccineName;
    }

    public String getUserName()
    {
        return userName;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("chickenId", getChickenId())
            .append("vaccineId", getVaccineId())
            .append("vaccinationDate", getVaccinationDate())
            .append("dosage", getDosage())
            .append("administrationRoute", getAdministrationRoute())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("userId", getUserId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
